package com.zmzncs.lmtc.module.customer.pojo.card;

import com.zmzncs.lmtc.common.pojo.enums.optionalvalue.promotion.MonthRentTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 客户-定制卡
 * </p>
 *
 * @author 任建波
 * @since 2020-08-27
 */
@Data
public class CustomizeCardBuyForm implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "车牌号id", required = true)
    @NotNull
    private Long carId;

    @ApiModelProperty(value = "客户优惠券id")
    private Long custTicketId;

    @ApiModelProperty(value = "停车场id集合", required = true)
    @NotNull
    private List<Long> parkIdList;

    @ApiModelProperty(value = "支付金额", required = true)
    @NotNull
    private BigDecimal paidAmount;

    @ApiModelProperty(value = "月租卡类型（MONTH：月卡，QUARTER：季卡，YEAR：年卡）", required = true)
    @NotNull
    private MonthRentTypeEnum monthRentType;

}
